package com.bidr.platform.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

 /**
 * Title: SysDictType
 * Description: Copyright: Copyright (c) 2022 Company: Sharp Ltd.
 *
 * @author Sharp
 * @since 2023/04/26 11:30
 */

/**
 * 字典类型表
 */
@ApiModel(description = "字典类型表")
@Data
@TableName(value = "sys_dict_type")
public class SysDictType {
    /**
     * 字典类型
     */
    @TableId(value = "dict_name", type = IdType.AUTO)
    @ApiModelProperty(value = "字典类型")
    private String dictName;

    /**
     * 字典显示名称
     */
    @TableField(value = "dict_title")
    @ApiModelProperty(value = "字典显示名称")
    private String dictTitle;

    /**
     * 只读
     */
    @TableField(value = "read_only")
    @ApiModelProperty(value = "只读")
    private String readOnly;

    /**
     * 更新时间
     */
    @TableField(value = "expired")
    @ApiModelProperty(value = "更新时间")
    private Integer expired;
}
